package com.hngy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hngy.domain.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author LiKe
 * @date 2021/12/23 15:04
 */

public interface EmployeeDao extends BaseMapper<Employee> {
    List<Employee> myPage(int page,int pageSize,String name);
    @Select("select count(*) from employee")
    int countNum();
}
